<?php


namespace Rabbitmq\Tool\RabbitMQTool;


class PublishTestService
{
    public function __construct()
    {
        $push = new PublishBaseService();
        $payload = ['id'=>1,'name'=>'hardy'];
        $push->setPayload($payload)->setQueue('test')->setExchange('test')->handle();
    }
}
